//
//  SLUserDetailInfoCell.m
//  MyChatDemo
//
//  Created by DragonYao on 2017/9/13.
//  Copyright © 2017年 DragonYao. All rights reserved.
//

#import "SLUserDetailInfoCell.h"

@interface SLUserDetailInfoCell ()

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *subtitleLabel;

@end

@implementation SLUserDetailInfoCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.selectionStyle = UITableViewCellSelectionStyleNone;
    self.headerImgView.hidden = YES;
}

- (void)configCellWithTitle:(NSString *)title
                   subtitle:(NSString *)subtitle; {
    self.titleLabel.text = [SLUtils isNilString:title] ? @"" : title;
    self.subtitleLabel.text = [SLUtils isNilString:subtitle] ? @"" : subtitle;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
